package com.oxchinx.order.model.enums;

import lombok.Getter;

/**
 * Created by dell on 2018/5/23.
 */
@Getter
public enum ResultEnum {
    PARAM_ERROR(1, "param error","参数错误"),
    CART_EMPTY(2, "cat empty","购物车为空")
    ;

    private Integer code;

    private String name;

    private String desc;

    ResultEnum(Integer code, String message,String desc) {
        this.code = code;
        this.name = name;
        this.desc = desc;
    }
}
